package com.huilian.iotbox.admin.wap.dao;

import com.huilian.iotbox.data.po.Qualification;
import com.huilian.iotbox.data.vo.QualificationVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 谢洛涛
 * @date 2021/3/23 10:17
 */
@Mapper
public interface QualificationDao {
    Integer addQualification(Qualification qualification);

    List<Qualification> findQualificationList(Qualification qualification);

    List<QualificationVo> findMerchantIdByQualificationId(Qualification qualification);

    Integer findSubLedgerMerchantCountByUserId(Qualification qualification);

    List<QualificationVo> findQualificationByType(Qualification qualification);

    int updateNameWhereCertNo(Qualification qualification);
}
